<img class="e_profile_photo profile_photo" src="<?php echo (!empty($userinfo['avatar']) ? $userinfo['avatar'] : STATIC_HTTP . 'img/avatar.gif'); ?>" >
<div class="upload_photo">
    <input class="button_1 mpt a_upload_photo" type="button" value="上传头像" >
</div>
<div class="menu">
    <div class="box_border">
        <div class="wrap">
            <div class="hd"><a href="/Usercenter" <?php if($type=="usercenter"){ echo 'class="on"'; } ?> >基本资料</a></div>
        </div>
    </div>
</div>
<div class="menu">
    <div class="box_border">
        <div class="wrap">
            <div class="hd"><a href="/?action=MyFollower" <?php if($type=="myfollower"){ echo 'class="on"'; } ?> >我的关注</a></div>
        </div>
    </div>
</div>
<div class="menu">
    <div class="box_border">
        <div class="wrap">
            <div class="hd"><a href="/?action=MyFans" <?php if($type=="myfans"){ echo 'class="on"'; } ?> >我的粉丝</a></div>
        </div>
    </div>
</div>
<div class="menu">
    <div class="box_border">
        <div class="wrap">
            <div class="hd"><a href="/?action=BindMail" <?php if($type=="bindmail"){ echo 'class="on"'; } ?>  >安全中心</a></div>
        </div>
    </div>
    <ul class="bd">
        <li><a href="/?action=BindMail">绑定邮箱</a></li>
        <li class="line">&nbsp;</li>
        <li><a href="/?action=Updatepassword">修改密码</a></li>
    </ul>
</div>
<div class="menu">
    <div class="box_border">
        <div class="wrap">
            <div class="hd"><a href="/?action=SendgiftRecord" <?php if($type=="sendgift"){ echo 'class="on"'; } ?>>我的账单</a></div>
        </div>
    </div>
    <ul class="bd">
        <li><a href="/?action=SendgiftRecord">我送出的礼物</a></li>
        <li class="line">&nbsp;</li>
        <li><a href="/?action=Receivegift">我收到的礼物</a></li>
        <li class="line">&nbsp;</li>
        <!--<li><a href="/?action=CostRecord">消费记录</a></li>
        <li class="line">&nbsp;</li>-->
        <li><a href="/?action=PayRecord">充值记录</a></li>
        <li class="line">&nbsp;</li>        
        <li><a href="/?action=MyPackage">我购买的道具</a></li>
    </ul>
</div>